package com.spec.services.system.log.impl;

import com.spec.dao.DaoSupport;
import com.spec.services.system.log.ILogService;
import org.springframework.stereotype.Service;
import sys.basic.entity.PageData;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by hzq on 2017/5/30.
 */
@Service("logService")
public class LogServiceImpl implements ILogService {

    @Resource(name = "daoSupport")
    private DaoSupport dao;

    @Override
    public List<PageData> list(PageData pd) throws Exception {
        return (List<PageData>) dao.findForList("LogMapper.loglistPage",pd);
    }
}
